package org.i1510.wuyo.po;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name = "KM_REG_ANSWER")
public class KmRegAnswer implements java.io.Serializable {
	private String docId;
	private String docSubject;
	private String docStatus;
	private String docCreator;
	private String docCreateTime;
	private String docLastor;
	private String docLastTime;
	
	/**
	 * 关联主文档ID
	 */
	private String kmRegistId; 
	@Column(name = "km_regist_id",  length = 36)
	public String getKmRegistId() {
		return kmRegistId;
	}

	public void setKmRegistId(String kmRegistId) {
		this.kmRegistId = kmRegistId;
	}

	/**
	 * 答案
	 */
	private String descAnswer;
	/**
	 * 赞
	 */
	private String zan;
	@Column(name = "desc_answer",  length = 3600)
	public String getDescAnswer() {
		return descAnswer;
	}

	public void setDescAnswer(String descAnswer) {
		this.descAnswer = descAnswer;
	}

	@Column(name = "zan",  length = 10)
	public String getZan() {
		return zan;
	}

	public void setZan(String zan) {
		this.zan = zan;
	}

	public KmRegAnswer() {
	}

	@Id
	@Column(name = "doc_id", nullable = false, length = 36)
	public String getDocId() {
		return docId;
	}

	public void setDocId(String docId) {
		this.docId = docId;
	}

	@Column(name = "doc_subject",  length = 100)
	public String getDocSubject() {
		return docSubject;
	}

	public void setDocSubject(String docSubject) {
		this.docSubject = docSubject;
	}

	@Column(name = "doc_status",  length = 2)
	public String getDocStatus() {
		return docStatus;
	}

	public void setDocStatus(String docStatus) {
		this.docStatus = docStatus;
	}

	@Column(name = "doc_creator",  length = 36)
	public String getDocCreator() {
		return docCreator;
	}

	public void setDocCreator(String docCreator) {
		this.docCreator = docCreator;
	}

	@Column(name = "doc_create_time",  length = 19) 
	public String getDocCreateTime() {
		return docCreateTime;
	}

	public void setDocCreateTime(String docCreateTime) {
		this.docCreateTime = docCreateTime;
	}

	@Column(name = "doc_lastor",  length = 36)
	public String getDocLastor() {
		return docLastor;
	}

	public void setDocLastor(String docLastor) {
		this.docLastor = docLastor;
	}

	@Column(name = "doc_last_time",  length = 19)
	public String getDocLastTime() {
		return docLastTime;
	}

	public void setDocLastTime(String docLastTime) {
		this.docLastTime = docLastTime;
	}
}